package deployr.domain;



public class ProjectMap extends ObjectMap {

	public ProjectMap(IProject project) {
		this("", project);
	}

	public ProjectMap(String contextPath, IProject project) {
		super(contextPath);
		put("projectKey", project.getProjectKey());
		put("groupId", project.getGroupId());
		put("artifactId", project.getArtifactId());
		put("version", project.getVersion());
		put("lastUpdated", time(project.getLastUpdated()));
		put("status", string(project.getStatus()));
		put("path", project.getPath());
	}
}
